﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Reflection;

namespace CodePlex.TfsPluginSuite.Configuration
{
    public class TfsPluginSuiteConfigurationSection : ConfigurationSection
    {

        [ConfigurationProperty("ForbiddenPatternsPolicy", Options = ConfigurationPropertyOptions.IsRequired)]
        public ForbiddenPatternConfigurationElementCollection ForbiddenPatternsPolicy
        {
            get
            {
                return (ForbiddenPatternConfigurationElementCollection)this["ForbiddenPatternsPolicy"];
            }
        }

        [ConfigurationProperty("WorkItemAssociationPolicy", Options = ConfigurationPropertyOptions.IsRequired)]
        public WorkItemAssociationConfigurationElement WorkItemAssociationPolicy
        {
            get
            {
                return (WorkItemAssociationConfigurationElement)this["WorkItemAssociationPolicy"];
            }
        }
    }
}


